<template>
  <div class="dashboard-container">
   <div class="bg">
     <span>欢迎回来</span>
   </div>
  </div>
</template>

<script>
import { mapGetters} from 'vuex'
export default {
  name: 'Dashboard',
  data(){
    return{

    }
  },
  computed:{
    ...mapGetters(['name'])
  },
}
</script>
<style lang="scss">
.dashboard-container{
  .bg{
    width: 1326px;
    height: 400px;
    margin: 0 auto;
    background: url('../../assets/indexBanner.png') no-repeat;
    margin-top: 60px;
    color: #fff;
    text-align: center;
    span{
      font-size: 30px;
      padding-top: 80px;
      display: block;
    }
  }
}
</style>